<template>
  <el-radio-group
    v-model="model[modelName]"
    :size="size"
    :disabled="disabled"
    :text-color="textColor"
    :fill="fill"
    :validate-event="validateEvent"
  >
    <el-radio
      v-for="(item, index) in optionArr"
      :key="index"
      :disabled="item.disabled"
      :border="item.border"
      :label="item.label"
      :name="item.name"
      :size="item.size"
    >
      {{ item.text }}
    </el-radio>
  </el-radio-group>
</template>

<script>
import props from "./props";
export default {
  mixins: [props],
};
</script>

<style lang="scss" scoped></style>
